﻿using L2_RegisterType.Models;
using Prism.Dialogs;
using Prism.Ioc;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L2_RegisterType.ViewModels
{
    class MainWindowViewModel : BindableBase
    {
        private string _title = "Prism Application";
        public string Title
        {
            get { return _title; }
            set { SetProperty(ref _title, value); }
        }

        public MainWindowViewModel(IContainerProvider containerProvider, IDialogService dialogService)
        {
            User user = containerProvider.Resolve<User>();
            //dialogService.ShowDialog("MsgView");
        }
    }
}